<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
	xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format"
	xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:xmi="http://www.omg.org/XMI">
	<xsl:output method="html" />
	<xsl:template match="/List">

		<table border="1" cellpadding="2" cellspacing="1">
			<tr>
				<th>序号</th>
				<th>书名</th>
				<th>作者</th>
				<th>价格</th>
			</tr>
			<xsl:for-each select="Book">
				<tr>
					<td height="25">
						<xsl:value-of select="ID" />
					</td>
					<td height="25">
						<a href="book.html?PARAM_BOOK_ID={ID}">
							<xsl:value-of select="Title" />
						</a>
					</td>
					<td height="25">
						<xsl:value-of select="Author" />
					</td>
					<td height="25">
						￥<xsl:value-of select="Price" />
					</td>
				</tr>
			</xsl:for-each>
		</table>

	</xsl:template>

</xsl:stylesheet>